package com.mms.entity;

/**
 * Device entity. @author MyEclipse Persistence Tools
 */

public class Device implements java.io.Serializable {

    // Fields

    private Integer DId;
    private String DName;

    // Constructors

    /** default constructor */
    public Device() {
    }

    /** minimal constructor */
    public Device(Integer DId) {
        this.DId = DId;
    }

    /** full constructor */
    public Device(Integer DId, String DName) {
        this.DId = DId;
        this.DName = DName;
    }

    // Property accessors

    public Integer getDId() {
        return this.DId;
    }

    public void setDId(Integer DId) {
        this.DId = DId;
    }

    public String getDName() {
        return this.DName;
    }

    public void setDName(String DName) {
        this.DName = DName;
    }

}